/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const paramsetRouter = {
  path: '/paramset',
  component: Layout,
  redirect: 'noRedirect',
  name: 'system',
  meta: {
    title: '参数设置',
    icon: 'chart'
  },
  children: [
    {
      path: 'serialPortParam',
      component: () => import('@/views/paramSet/serialPortParam/serialPortParam.vue'),
      name: 'serialPortParam',
      meta: { title: '串口参数', noCache: true }
    },
    {
      path: 'businessParam',
      component: () => import('@/views/paramSet/businessParam/businessParam.vue'),
      name: 'businessParam',
      meta: { title: '业务参数', noCache: true }
    }
  ]
}

export default paramsetRouter
